package com.adapter.pattern.adapter;

import com.adapter.pattern.domain.ResultMsg;

/**
 * @author cc
 * @classname LoginAdapter
 * @description 根据不同的登录方式，创建不同的Adapter
 * @date 2022/3/28 15:37
 */
public interface LoginAdapter {
    boolean support(Object adapter);

    ResultMsg login(String id, Object adapter);
}
